<?php
   if(!$conn = mysql_connect ( "localhost", "user", "" ) )
          die ( "Error connecting to database!" );

	mysql_select_db("opticalDB");

?>